package com.per.mybootall.service;

import com.per.mybootall.vo.ProductCarVO;
import com.per.mybootall.vo.ProductVO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface HomeLoadInter {
    List<ProductVO> selectProductMessage();

    List<ProductVO> selectCondition(String condition,String usertoken,String whoareuser);
    /*商品页面+购物车*/
    String addCartBuy(String thisuserid,String productId, String usertoken, String whoareuser,int productNumber);
    /*购物车商品数量-*/
    String whenShowProductNumberLess(String usertoken, String whoareuser,String thisuserid,String productId);
    /*购物车商品数量+*/
    String whenShowProductNumberAdd(String usertoken, String whoareuser,String thisuserid,String productId);
    /*购物车页面展示*/
    List<ProductCarVO> showCarBuy(String thisuserid, String usertoken, String whoareuser);
}
